//
//  FiderListCell.m
//  ForYourBeauty
//
//  Created by Kelly xu on 2019/5/22.
//  Copyright © 2019 changrenTech. All rights reserved.
//

#import "FiderListCell.h"

@implementation FiderListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setCellValue:(FinderListModel*)finderListModel{
    self.titleLab.text = [NSString stringWithFormat:@"%@",finderListModel.articleTitle];
    self.typeLab.text = [NSString stringWithFormat:@"%@",finderListModel.articleType];
    self.topCountLab.text = [NSString stringWithFormat:@"%.0f",finderListModel.topCount];
    self.collectionCountLab.text = [NSString stringWithFormat:@"%.0f",finderListModel.collectionCount];
    [self.articleImg sd_setImageWithURL:[NSURL URLWithString:finderListModel.smallImage] placeholderImage:SmallListDefaultImg];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
